const http = require('http')

const app = http.createServer()

app.on('request', (req, res) => {

    res.setHeader('Content-Type', 'text/html;charset=utf-8')
    res.end('我左手打开了天化身为龙')
})

app.listen(3000, () => {
    console.log('服务器启动于: http://127.0.0.1:3000');
})